package tech.anzhen.simple.rpc.support.rest;

import com.google.gson.JsonElement;

public class ResponseMessageStub {

    private boolean success = true;

    private String message;

    private String code;

    private String stack;

    private JsonElement data;

    private String moduleCode;

    private String moduleErrorCode;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStack() {
        return stack;
    }

    public void setStack(String stack) {
        this.stack = stack;
    }

    public JsonElement getData() {
        return data;
    }

    public void setData(JsonElement data) {
        this.data = data;
    }

    public String getModuleCode() {
        return moduleCode;
    }

    public void setModuleCode(String moduleCode) {
        this.moduleCode = moduleCode;
    }

    public String getModuleErrorCode() {
        return moduleErrorCode;
    }

    public void setModuleErrorCode(String moduleErrorCode) {
        this.moduleErrorCode = moduleErrorCode;
    }

}
